package edu.mju.admin.mapper;

import edu.mju.admin.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限 Mapper 接口
 * </p>
 *
 * @author CBL
 * @since 2021-01-10
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> selectPermissionByUserId(Integer userId);

    List<String> selectAllPermissionValue();

    List<String> selectPermissionValueByUserId(Integer id);
}
